<!--
 * @Autor: dingxiaolin
 * @Date: 2020-03-27 21:47:21
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-11-13 15:42:30
 -->
<template>
    <el-main>
        <section class="content-container">
            <el-col :span="24" class="content-wrapper">
                <keep-alive>
                    <router-view v-if="$route.meta.keepAlive"></router-view>
                </keep-alive>
                <router-view v-if="!$route.meta.keepAlive"></router-view>
            </el-col>
        </section>
    </el-main>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator';

@Component({
    components: {},
})
export default class AppMain extends Vue {}
</script>
<style lang="scss" scoped>
/deep/.el-main .content-container {
    width: 100%;
    height: 100%;
}
</style>
